/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package RDA;

import org.newdawn.slick.GameContainer;
import org.newdawn.slick.Graphics;
import org.newdawn.slick.state.StateBasedGame;

/**
 *
 * @author Raúl Delgado & Xavi Pol
 */
public abstract class Disparo extends Entidad {

    float daño;

    public Disparo(float daño){
        this.daño = daño;
    }

    public void posicion(float x, float y){}

    public abstract void update(int delta);

    public abstract void update(GameContainer gc, StateBasedGame sb, int delta) ;

    public abstract void render(GameContainer gc, Graphics g) ;

    public abstract Disparo copiarDisparo();
    
    public abstract Disparo clonarDisparo();

    public float getDaño() {
        return daño;
    }

    public void setDaño(float daño) {
        this.daño = daño;
    }

}
